package com.springboot.ww.platform.pd.order.api;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 描述：
 *
 * @author 🧑 ‍wanwei
 * @since 2024-05-16 14:38
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class PdMarkSendReq implements Serializable {

    @JsonProperty("carrierId")
    private int carrierId;
    @JsonProperty("trackingNumber")
    private String trackingNumber;
    @JsonProperty("selfShippingWarehouseId")
    private String selfShippingWarehouseId;
    @JsonProperty("orderSendInfoList")
    private List<OrderSendInfoListBean> orderSendInfoList;

    @JsonIgnoreProperties(ignoreUnknown = true)
    @Data
    public static class OrderSendInfoListBean implements Serializable {
        @JsonProperty("quantity")
        private int quantity;
        @JsonProperty("orderSn")
        private String orderSn;
        @JsonProperty("parentOrderSn")
        private String parentOrderSn;
        @JsonProperty("goodsId")
        private long goodsId;
        @JsonProperty("skuId")
        private long skuId;
    }
}
